export default {
  state:{
    areaHouseRadio:'',//区域
    huxingRadio:'',//户型
    orientationRadio:'',//朝向
    renovationRadio:'',//装修
    paymentRadio:'',// 付款方式
  },
  getters: {
    getAreaHouseRadio(state) {
      return state.areaHouseRadio
    },
    getHuxingRadio(state) {
      return state.huxingRadio
    },
    getOrientationRadio(state) {
      return state.orientationRadio
    },
    getRenovationRadio(state) {
      return state.renovationRadio
    },
    getPaymentRadio(state) {
      return state.paymentRadio
    },
  },
  mutations: {
    //清空
    clearData(state){
      state.areaHouseRadio = '';
      state.huxingRadio = '';
      state.orientationRadio = '';
      state.renovationRadio = '';
      state.paymentRadio = '';
    },
    setAreaHouseRadio(state, data) {
      state.areaHouseRadio = data;
    },
    setHuxingRadio(state, data) {
      state.huxingRadio = data;
    },
    setOrientationRadio(state, data) {
      state.orientationRadio = data;
    },
    setRenovationRadio(state, data) {
      state.renovationRadio = data;
    },
    setPaymentRadio(state, data) {
      state.paymentRadio = data;
    },
  },
  actions: {  }
}
